<template>
  <div>
    <transition name="el-fade-in-linear" mode="out-in">
      <InfoView v-if="userStore.status == 1" />
      <LoginView v-else />
    </transition>
  </div>
</template>

<script setup>
import { useRoute, useRouter } from 'vue-router'
import { ref } from 'vue'
import useUserStore from '@/stores/user.js'
import { ElNotification } from 'element-plus'
const router = useRouter()
const userStore = useUserStore()

import LoginView from './LoginView.vue'
import InfoView from './InfoView.vue'
</script>
